package com.atguigu.realtime.gmallsugar.service;

import com.atguigu.realtime.gmallsugar.bean.Visitor;
import com.atguigu.realtime.gmallsugar.mapper.VisitorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lzc
 * @Date 2022/4/26 14:37
 */
@Service
public class VisitorServiceImpl implements VisitorService{
    
    @Autowired
    VisitorMapper visitorMapper;
    @Override
    public List<Visitor> visitor(int date) {
        return visitorMapper.visitor(date);
        
    }
}
